package com.rogchen.learning.hystrinxclient;

import org.springframework.stereotype.Component;

import java.util.Map;

/**
 * @author Rogchen  rogchen128@gmail.com
 * @description:
 * @product: IntelliJ IDEA
 * @create by 20-3-19 17:11
 **/
@Component
public class DefaultFallback implements HystrixServer{
    @Override
    public Map getServer() {
        System.out.println("进入默认返回了");
        return null;
    }
}
